package com.px.chapter_Dec_1;

public class text1 {
    public static void main(String[] args) {
/*        Person person1=new Person("wmm",18,"男");
        System.out.println(person1.getAge());
        person1.addAge(5);
        person1.showAge();*/
        RoundArea roundArea=new RoundArea(10);
        roundArea.setBj(20);
        System.out.println(roundArea.roundA());
        Point jj=new Point(3,4,0);
        TriAngle ri=new TriAngle(1,5);
        ri.setBase(100);
        Arrary arrary=new Arrary(2,564132,45546);
        arrary.AAA();
        System.out.println(max(6,156,4564,89,4,456,165,1650000000,5,4,844,54,56454));


    }
    public static int max(int ...a){
        int max=0;
        for (int i=0;i<a.length;i++){
            if (a[i]>max){
                max=a[i];
            }
        }
        return max;
    }
}
